<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Convert_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-convert_rate" class="form-control" name="row[convert_rate]" type="number" value="{$row.convert_rate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deep_convert_cost')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deep_convert_cost" class="form-control" name="row[deep_convert_cost]" type="number" value="{$row.deep_convert_cost|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Show')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-show" class="form-control" name="row[show]" type="number" value="{$row.show|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Avg_click_cost')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-avg_click_cost" class="form-control" name="row[avg_click_cost]" type="number" value="{$row.avg_click_cost|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Advertiser_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-advertiser_id" data-rule="required" data-source="advertiser/index" class="form-control selectpage" name="row[advertiser_id]" type="text" value="{$row.advertiser_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Avg_show_cost')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-avg_show_cost" class="form-control" name="row[avg_show_cost]" type="number" value="{$row.avg_show_cost|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stat_datetime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-stat_datetime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[stat_datetime]" type="text" value="{:$row.stat_datetime?datetime($row.stat_datetime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deep_convert_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deep_convert_rate" class="form-control" name="row[deep_convert_rate]" type="number" value="{$row.deep_convert_rate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deep_convert')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deep_convert" class="form-control" name="row[deep_convert]" type="number" value="{$row.deep_convert|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Convert_cost')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-convert_cost" class="form-control" name="row[convert_cost]" type="number" value="{$row.convert_cost|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Click')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-click" class="form-control" name="row[click]" type="number" value="{$row.click|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Convert')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-convert" class="form-control" name="row[convert]" type="number" value="{$row.convert|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ctr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ctr" class="form-control" name="row[ctr]" type="number" value="{$row.ctr|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cost')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cost" class="form-control" name="row[cost]" type="number" value="{$row.cost|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
